package weborb.gcf.business
{
	import com.adobe.cairngorm.business.ServiceLocator;
	
	import mx.rpc.AsyncToken;
	import mx.rpc.IResponder;

	public class InfoServiceDelegate
	{
    	private var responder : IResponder;
    	private var service : Object;

		public function InfoServiceDelegate(responder : IResponder )
		{
			this.service = ServiceLocator.getInstance().getRemoteObject( "InfoService" );
			this.responder = responder;
		}
	    
		public function getInfo() : void
		{
			var call : AsyncToken = service.getInfo();
			call.addResponder( responder );
		}
	}
}